//
//  UploadProgressController.h
//  parkour-photomap-ib
//
//  Created by Ed Mancebo on 4/6/11.
//  Copyright 2011 Personal. All rights reserved.
//

#import <UIKit/UIKit.h>
@class UploadInfo;
@class PostResult;

@interface UploadProgressController : UIViewController {
	UploadInfo *uploadInfo;
	
	UILabel *imageTitle;
	UIImageView *imageView;
	UILabel *status;
	UIActivityIndicatorView *activityView;
	UITextView *errorView;
}

- (id) initWithUploadInfo:(UploadInfo*)uinfo;
- (void) uploadAsync;
- (void) setResult:(PostResult*)result;

@property (nonatomic, retain) IBOutlet UILabel *imageTitle;
@property (nonatomic, retain) IBOutlet UIImageView *imageView;
@property (nonatomic, retain) IBOutlet UILabel *status;
@property (nonatomic, retain) IBOutlet UIActivityIndicatorView *activityView;
@property (nonatomic, retain) IBOutlet UITextView *errorView;

@end
